package kr.hkit.powerjava.chapter12;

class Tv implements RemoteControl{

	@Override
	public void turnOn() {
		System.out.println("Tv on");

		
	}

	@Override
	public void turnOff() {
		System.out.println("Tv off");
		
	}
	
}
class Car implements RemoteControl{

	@Override
	public void turnOn() {
		System.out.println("Car on");
		
	}

	@Override
	public void turnOff() {
		System.out.println("Car off");
		
	}
	
}

public interface RemoteControl {

	public abstract void turnOn();
	void turnOff();
}
